Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.AvalonDock Assembly / Xceed.Wpf.AvalonDock.Layout Namespace / Extensions Class / ContainsChildOfType Method / ContainsChildOfType<T>(ILayoutContainer) Method
The type to search for.
The container to search.


    ContainsChildOfType<T>(ILayoutContainer) Method
    Indicates whether a child of a specified type is contained in the ILayoutContainer.
    Syntax
    'Declaration
     
    <ExtensionAttribute()>
    Public Overloads Shared Function ContainsChildOfType(Of T)( _
       ByVal element As ILayoutContainer _
    ) As Boolean
     
    'Usage
     
    Dim element As ILayoutContainer
    Dim value As Boolean
     
    value = Extensions.ContainsChildOfType(Of T)(element)

    Parameters

    element
    The container to search.

    Type Parameters

    T
    The type to search for.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also